<div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
    <div class="breadcrumb_wrap">
        <ul class="breadcrumb">
            <li>您的位置：</li>
            <li> <a href="product_list.html">产品管理</a> <span class="divider">></span> </li>
            <li> <a href="product_list.html">产品信息</a> <span class="divider">></span> </li>
            <li class="active">商品详细信息</li>
        </ul>
    </div>
    <div class="product_con">
        <div class="title">
            <h3>产品基本信息</h3>
        </div>
        <div class="select_box " >
            <form class="form-horizontal" role="form">
                <div class="form-group col-md-4">
                    <label class="control-label">产品名：</label>
                    <p>{{goods.title}}</p>
                </div>
                <div class="form-group col-md-4">
                    <label class="control-label">产品编号：</label>
                    <p>{{goods.identifier}}</p>
                </div>
                <div class="form-group col-md-4">
                    <label class="control-label">产品样式：</label>
                        <p>{{goods.gstyleName}}</p>
                </div>
                <div class="form-group col-md-4">
                    <label class="control-label">产品材质：</label>
                        <p>{{goods.typeName}}</p>
                </div>
                <div class="form-group col-md-4">
                    <label class="control-label">产品品型：</label>
                    <p>{{goods.pxName}}</p>
                </div>
                <div class="form-group col-md-4">
                    <label class="control-label">单价：</label>
                    <p>{{goods.price}}元/g</p>
                </div>
                <div class="form-group col-md-4">
                    <label class="control-label">数量：</label>
                    <p>{{goods.number}}</p>
                </div>
                <div class="form-group col-md-4">
                    <label class="control-label">产品状态：</label>
                    <p ng-if="goods.status==1">已上架</p>
                    <p ng-if="goods.status==0">未上架</p>
                </div>

                <div class="form-group col-md-12">
                    <label class="control-label">产品规格：</label>
                    <div ng-repeat="item in goodsWeightList" class="weight weight_del">
                        <div class="col-sm-12">
                            <p><span>{{item.minWeight}}g</span><span> -- </span><span>{{item.maxWeight}}g</span></p>
                            <p><span><b>加工费</b>：</span><span>{{item.jgf}}元/g</span></p>
                        </div>
                    </div>
                </div>
                <div class="form-group col-sm-12">
                    <label class="control-label">产品描述：</label>
                    <p>{{goods.des}}</p>
                </div>
            </form>
        </div>
    </div>
    <div class="product_con">
        <div class="title">
            <h3>产品图片</h3>
        </div>
        <div class="select_box pic_box" >
            <form class="form-horizontal" role="form">
                <div class="form-group col-sm-12">
                    <label class="control-label">展示图：</label>
                    <div class="tz-gallery" ng-if="goods.iconUrl!=undefined&&goods.iconUrl!=''">
                        <div class="row">
                            <div class="col-sm-6 col-md-4">
                                <div class="thumbnail"> <a class="lightbox" href="#"><img ng-src="/dapi/download/getImageIO?imgUrl={{goods.iconUrl}}" width="340" height="340"> </a> </div>
                            </div>
                        </div>
                    </div>
                    <div ng-if="!(goods.iconUrl!=undefined&&goods.iconUrl!='')">
                        <img  ng-src="/app/images/goodsDefault.gif">
                    </div>
                </div>
                <div class="form-group col-sm-12">
                    <label class="control-label">轮播图： </label>
                    <div id="myCarouse2" class="carousel slide"  ng-if="imgUrlList.length>0">
                        <!-- 轮播（Carousel）指标 -->
                        <ol class="carousel-indicators">
                            <li data-target="#myCarouse2" data-slide-to="{{$index}}" ng-class="{'active':$index==0}"  ng-repeat="item in imgUrlList"></li>
                        </ol>
                        <!-- 轮播（Carousel）项目 -->
                        <div class="carousel-inner" >
                            <div class="item " ng-class="{'active':$index==0}" ng-repeat="item in imgUrlList"> <img ng-src="/dapi/download/getImageIO?imgUrl={{item.picUrl}}" /> </div>
                        </div>
                        <!-- 轮播（Carousel）导航 -->
                        <a class="left carousel-control" href="#myCarouse2" role="button" data-slide="prev">
                            <span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
                            <span class="sr-only">Previous</span>
                        </a>
                        <a class="right carousel-control" href="#myCarouse2" role="button" data-slide="next">
                            <span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
                            <span class="sr-only">Next</span>
                        </a>
                    </div>
                    <div ng-if="!(imgUrlList.length>0)">
                        <img  ng-src="/app/images/goodsDefault.gif">
                    </div>
                </div>

            </form>
        </div>
    </div>
    <div class="product_con" ng-if="evaluateList.length>0">
        <div class="title">
            <h3>产品评价</h3>
        </div>
        <div class="select_box " >
            <div class="table-responsive con_list comment_list" >
                <table class="table table-striped">
                    <thead>
                    <tr>
                        <th>用户名</th>
                        <th>评论时间</th>
                        <th>评论内容</th>
                    </tr>
                    </thead>
                    <tbody>
                    <tr ng-repeat="evaluate in evaluateList">
                        <td >{{evaluate.publishUserName}}</td>
                        <td>{{evaluate.publishTime}}</td>
                        <td style="width:50%;">{{evaluate.content}}</td>
                    </tr>
                    </tbody>
                </table>
            </div>
        </div>
    </div>
    <!--<div class="button_box table_btn_box editor_btn_box ">-->
        <!--<a href="/xdd/common/goods_list"><button type="button" class="btn btn-primary back"><i class="glyphicon glyphicon-chevron-left"></i>返回</button></a>-->
    <!--</div>-->
</div>